package com.example.api.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class RequestAPI {
    @GetMapping("/r1")
    public String r1(){
        return "r1";
    }

    @GetMapping("/r2")
    public String r2(){
        return "r2";
    }
}
